﻿namespace WebApplication1.Models.RBAC
{
    /// <summary>
    /// 用户表
    /// </summary>
    [SqlSugar.SugarTable(tableName: "usermodel")]
    public class UserModel
    {
        [SqlSugar.SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
        public int Id { get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "username")]
        public string UserName { get; set; }

        /// <summary>
        /// 用户密码
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName ="userpwd")]
        public string UserPwd { get; set; }

        /// <summary>
        /// 角色
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "rolename")]
        public string RoleName { get; set; }

    }

}
